#pragma once
#include <vector>
#include <SFML\Graphics.hpp>
#include "Octopi.h"
#include <cmath>
#include <cstdlib>
#include <ctime>
#include "Player.h"
class EnemyManager {
public:
	EnemyManager();
	~EnemyManager();

	void Initialize(sf::RenderWindow* win);
	void Update(Player*	player);
	void Cleanup();
	std::vector<Octopi*> m_arrayOfOctopi;

	unsigned int octopiCount;

	bool side;
	int random_integer;
	int random_int;
private:

	//sf::Texture* octopusTexture;
	sf::RenderWindow* m_renderWindow;
	bool alreadyOnLeft;
	bool alreadyOnRight;
	sf::Clock* m_spawnClock;
	unsigned int enemyType;
	sf::Texture* m_hitTexture;
	sf::Texture* m_octTexture;
	sf::Texture* m_octTextureAtc;

	sf::Texture* m_sharkTexture;
	sf::Texture* m_sharkTextureAtc;
	
	sf::Texture* m_dolphinTexture;
	sf::Texture* m_dolphinTextureAtc;

	sf::Texture* m_theTexture;
	sf::Texture* m_theTextureAtc;
};
